home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nosvw.zip / !SYNTAX < prev    next >
Text File  |  1991-09-18  |  4KB  |  110 lines

  1. =======                                             NOSview [137]
  2. !SYNTAX
  3. =======
  4.  
  5. Command Syntax
  6. --------------
  7. Commands in NOSview are given in the following notation:
  8.  
  9.     command
  10.     command literalparameter
  11.     command subcommand <parameter>
  12.     command [<optionalparameter>]
  13.     command a | b
  14.  
  15. Many commands take subcommands or parameters, which may be
  16. optional or required.  In general, if a required subcommand or
  17. parameter is omitted, an error message will summarize the
  18. available subcommands or required parameters.
  19.  
  20. Giving a '?' in place of the subcommand will also generate the
  21. message.  This is useful when the command word alone is a valid
  22. command.
  23.  
  24. If a command takes an optional value parameter, issuing the
  25. command without the parameter generally displays the current
  26. value of the variable.  Exceptions to this rule are noted in the
  27. individual command descriptions.
  28.  
  29. Two or more parameters separated by vertical bar(s) denote a
  30. choice between the specified values.  Optional parameters are
  31. shown enclosed in [brackets], and a parameter enclosed in <angle
  32. brackets> should be replaced with an actual value or string.
  33.  
  34. For example, the notation <host> denotes an actual host or
  35. gateway, which may be specified in one of two ways: as a numeric
  36. IP address in dotted decimal notation (eg. 44.131.44.1), or as a
  37. symbolic name listed in the file DOMAIN.TXT.
  38.  
  39. All commands and many subcommands may be abbreviated.  You only
  40. need type enough of a command's name to distinguish it from
  41. others that begin with the same string of letters.  Parameters,
  42. however, must be typed in full.
  43.  
  44. Certain FTP subcommands (e.g. put, get, dir, etc) are recognized
  45. only in converse mode with the appropriate FTP session; they are
  46. not recognized in command mode.
  47.  
  48. Entering a CR (empty line) while in command mode puts you in
  49. converse mode with the current session.  If there is no current
  50. session, NOS remains in command mode.
  51.  
  52.  
  53. Console Modes
  54. -------------
  55. The console may be in one of two modes: command mode and converse
  56. mode.
  57.  
  58. In command mode, the prompt "net>" is displayed and any of the
  59. commands described in NOSview may be entered.
  60.  
  61. In converse mode, keyboard input is processed according to the
  62. current session.
  63.  
  64. Sessions come in many types, including Telnet, FTP, AX.25,
  65. NET/ROM, Ping, More, Hopcheck and Tip.
  66.  
  67. In a Telnet, AX.25, NETROM, or Tip session, keyboard input is
  68. sent to the remote system and any output from the remote system
  69. is displayed on the console.
  70.  
  71. In an FTP session, keyboard input is first examined to see if it
  72. is a known local command.  If so it is executed locally.  If not,
  73. it is "passed through" to the remote FTP server.  (See the 'ftp'
  74. command).
  75.  
  76. In a Ping session the user may test the path to a remote site,
  77. and in a More session, the user may examine a local file.  A
  78. Hopcheck session is used to trace the path taken by packets to
  79. reach a specified destination.
  80.  
  81. The keyboard also has "cooked" and "raw" states.  In cooked
  82. state, input is line-at-a-time; the user may use the line editing
  83. characters ^U, ^R and backspace to erase the line, redisplay the
  84. line and erase the last character, respectively.  Hitting either
  85. CR or LF passes the complete line to the application.
  86.  
  87. In raw state, each character is immediately passed to the
  88. application as it is typed.
  89.  
  90. The keyboard is always in cooked state in command mode.  It is
  91. also cooked in converse mode on an AX.25, FTP or NET/ROM session.
  92. In a Telnet session it depends on whether the remote end has
  93. issued (and the local end has accepted) the Telnet WILL ECHO
  94. option (see the 'echo' command).
  95.  
  96. On the IBM PC, the user may escape back to command mode by
  97. hitting the F10 key.  On other systems, the user must enter the
  98. escape character, which is by default control-] (hex 1d, ASCII
  99. GS). (Note that this is distinct from the ASCII character of the
  100. same name).  The escape character can be changed (see the
  101. 'escape' command).
  102.  
  103. In the IBM PC version, each session (including the command
  104. 'session') has its own screen.  When a new session is created,
  105. the command display is saved in memory and the screen is cleared.
  106. When the command escape key (usually F10) is hit, the current
  107. session screen is saved and the command screen is restored.  When
  108. a session is resumed, its screen is restored exactly as it
  109. appeared when it was last current.
  110.